#ifndef STRUCTS
#define STRUCTS
#define COLOR_VERTEX (D3DFVF_XYZ|D3DFVF_DIFFUSE)
#define TEXTURE_VERTEX (D3DFVF_XYZ|D3DFVF_TEX1|D3DFVF_TEXCOORDSIZE2(0))
#include <d3dx9.h>
struct ColorVertex
{
	float x,y,z;
	DWORD color;
};
enum MatrixMode
{
	WORLD = D3DTS_WORLDMATRIX(0),
	VIEW = D3DTS_VIEW,
};
struct TextureVertex
{
	float X,Y,Z;
	float U, V;
};
enum PrimitiveType
{
	TRIANGLE_LIST = D3DPT_TRIANGLELIST,
	TRIANGLE_STRIP = D3DPT_TRIANGLESTRIP,
	TRIANGLE_FAN = D3DPT_TRIANGLEFAN,
	LINE_STRIP = D3DPT_LINESTRIP
};
struct CharData
{
	short s_sID;
	int s_iPosX;
	int s_iPosY;
	int s_iHeight;
	int s_iWidth;
	int s_iXOffset;
	int s_iYOffset;
	int s_iXAdvance;
};
#endif